package com.gz.service;

import com.gz.entity.Product;
import com.gz.vo.BaseRS;
import com.gz.vo.ProductLocVo;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

public interface ProductService {

        public BaseRS queryAllProducts();

        public BaseRS queryProductsByPrarm(Product product);

        public BaseRS queryProductsByPrarmExr(ProductLocVo product);

        public BaseRS queryProductsByType(ProductLocVo product);
        public BaseRS queryProductsByStore(ProductLocVo product) throws InvocationTargetException, IllegalAccessException;
        public BaseRS queryProductById(Integer id);

        public BaseRS saveProduct(Product product);

        public BaseRS saveProducts(List<Product> products);

        public BaseRS updateProduct(Product product);

        public BaseRS delProduct(String id);
}
